[INFO] fetching crate sc-peerset 3.0.0...
[INFO] checking sc-peerset-3.0.0 against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] extracting crate sc-peerset 3.0.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate sc-peerset 3.0.0 on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate sc-peerset 3.0.0
[INFO] finished tweaking crates.io crate sc-peerset 3.0.0
[INFO] tweaked toml for crates.io crate sc-peerset 3.0.0 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 07ca46c969d0a9e4f07557565556b0968162fc9d603d1482b27a46be9a9368f5
[INFO] running `Command { std: "docker" "start" "-a" "07ca46c969d0a9e4f07557565556b0968162fc9d603d1482b27a46be9a9368f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07ca46c969d0a9e4f07557565556b0968162fc9d603d1482b27a46be9a9368f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07ca46c969d0a9e4f07557565556b0968162fc9d603d1482b27a46be9a9368f5", kill_on_drop: false }`
[INFO] [stdout] 07ca46c969d0a9e4f07557565556b0968162fc9d603d1482b27a46be9a9368f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ec989ab9127f829c8a3e6fa8ef0f34537d2c08edbc3124e94a3bc1589245e5a
[INFO] running `Command { std: "docker" "start" "-a" "7ec989ab9127f829c8a3e6fa8ef0f34537d2c08edbc3124e94a3bc1589245e5a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.46
[INFO] [stderr]    Compiling unicode-ident v1.0.4
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.101
[INFO] [stderr]    Compiling libc v0.2.134
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling futures-core v0.3.24
[INFO] [stderr]    Compiling serde v1.0.145
[INFO] [stderr]    Compiling futures-channel v0.3.24
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]    Compiling futures-task v0.3.24
[INFO] [stderr]    Compiling anyhow v1.0.65
[INFO] [stderr]     Checking futures-sink v0.3.24
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling futures-util v0.3.24
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]     Checking futures-io v0.3.24
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling bytes v1.2.1
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]    Compiling fixedbitset v0.2.0
[INFO] [stderr]     Checking cpufeatures v0.2.5
[INFO] [stderr]    Compiling fastrand v1.8.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]     Checking subtle v1.0.0
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling once_cell v1.15.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]    Compiling which v4.3.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling pin-project-internal v0.4.30
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling unicode-segmentation v1.10.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling prost-build v0.7.0
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]     Checking generic-array v0.12.4
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking unsigned-varint v0.5.1
[INFO] [stderr]     Checking unsigned-varint v0.7.1
[INFO] [stderr]     Checking signature v1.6.3
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking ed25519 v1.5.2
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking data-encoding v2.3.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking crypto-mac v0.7.0
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking hmac v0.7.1
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]    Compiling petgraph v0.5.1
[INFO] [stderr]     Checking sha2 v0.8.2
[INFO] [stderr]     Checking hmac-drbg v0.2.0
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking aho-corasick v0.7.19
[INFO] [stderr]    Compiling atomic v0.5.1
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]    Compiling prometheus v0.11.0
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]    Compiling serde_json v1.0.85
[INFO] [stderr]     Checking itoa v1.0.3
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking libsecp256k1 v0.3.5
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]    Compiling futures-macro v0.3.24
[INFO] [stderr]    Compiling prost-derive v0.7.0
[INFO] [stderr]    Compiling zeroize_derive v1.3.2
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling asn1_der_derive v0.1.2
[INFO] [stderr]    Compiling libp2p-core-derive v0.21.0
[INFO] [stderr]     Checking asn1_der v0.6.3
[INFO] [stderr]     Checking pin-project v0.4.30
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]     Checking pin-project v1.0.12
[INFO] [stderr]     Checking curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling prost v0.7.0
[INFO] [stderr]    Compiling prost-types v0.7.0
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling proc-macro-crate v1.2.1
[INFO] [stderr]     Checking futures-executor v0.3.24
[INFO] [stderr]    Compiling multihash-derive v0.7.2
[INFO] [stderr]     Checking futures v0.3.24
[INFO] [stderr]     Checking rw-stream-sink v0.2.1
[INFO] [stderr]     Checking multistream-select v0.10.4
[INFO] [stderr]     Checking wasm-timer v0.2.5
[INFO] [stderr]     Checking sp-utils v3.0.0
[INFO] [stderr]    Compiling libp2p-core v0.27.1
[INFO] [stderr]     Checking multihash v0.13.2
[INFO] [stderr]     Checking parity-multiaddr v0.11.2
[INFO] [stderr]     Checking libp2p-swarm v0.27.2
[INFO] [stderr]     Checking libp2p v0.34.0
[INFO] [stderr]     Checking sc-peerset v3.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> tests/fuzz.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use rand::distributions::{Distribution, Uniform, WeightedIndex};
[INFO] [stdout]    |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> tests/fuzz.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | use rand::seq::IteratorRandom;
[INFO] [stdout]    |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> tests/fuzz.rs:35:16
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                   ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `choose` found for struct `std::collections::hash_set::Iter` in the current scope
[INFO] [stdout]    --> tests/fuzz.rs:122:43
[INFO] [stdout]     |
[INFO] [stdout] 122 |                     if let Some(id) = known_nodes.iter().choose(&mut rng) {
[INFO] [stdout]     |                                                          ^^^^^^ method not found in `std::collections::hash_set::Iter<'_, PeerId>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/seq/mod.rs:255:8
[INFO] [stdout]     |
[INFO] [stdout] 255 |     fn choose<R>(mut self, rng: &mut R) -> Option<Self::Item>
[INFO] [stdout]     |        ------ the method is available for `std::collections::hash_set::Iter<'_, PeerId>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 19  | use rand::seq::IteratorRandom;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `choose` found for struct `std::collections::hash_set::Iter` in the current scope
[INFO] [stdout]    --> tests/fuzz.rs:131:47
[INFO] [stdout]     |
[INFO] [stdout] 131 |                     if let Some(id) = connected_nodes.iter().choose(&mut rng).cloned() {
[INFO] [stdout]     |                                                              ^^^^^^ method not found in `std::collections::hash_set::Iter<'_, PeerId>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/seq/mod.rs:255:8
[INFO] [stdout]     |
[INFO] [stdout] 255 |     fn choose<R>(mut self, rng: &mut R) -> Option<Self::Item>
[INFO] [stdout]     |        ------ the method is available for `std::collections::hash_set::Iter<'_, PeerId>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 19  | use rand::seq::IteratorRandom;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `choose` found for struct `std::iter::Filter` in the current scope
[INFO] [stdout]    --> tests/fuzz.rs:145:8
[INFO] [stdout]     |
[INFO] [stdout] 145 |                         .choose(&mut rng)
[INFO] [stdout]     |                          ^^^^^^ method not found in `std::iter::Filter<std::collections::hash_set::Iter<'_, PeerId>, [closure@tests/fuzz.rs:141:15: 141:18]>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/seq/mod.rs:255:8
[INFO] [stdout]     |
[INFO] [stdout] 255 |     fn choose<R>(mut self, rng: &mut R) -> Option<Self::Item>
[INFO] [stdout]     |        ------ the method is available for `std::iter::Filter<std::collections::hash_set::Iter<'_, PeerId>, [closure@tests/fuzz.rs:141:15: 141:18]>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 19  | use rand::seq::IteratorRandom;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `choose` found for struct `std::iter::Filter` in the current scope
[INFO] [stdout]    --> tests/fuzz.rs:162:8
[INFO] [stdout]     |
[INFO] [stdout] 162 |                         .choose(&mut rng)
[INFO] [stdout]     |                          ^^^^^^ method not found in `std::iter::Filter<std::collections::hash_set::Iter<'_, PeerId>, [closure@tests/fuzz.rs:161:15: 161:18]>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/seq/mod.rs:255:8
[INFO] [stdout]     |
[INFO] [stdout] 255 |     fn choose<R>(mut self, rng: &mut R) -> Option<Self::Item>
[INFO] [stdout]     |        ------ the method is available for `std::iter::Filter<std::collections::hash_set::Iter<'_, PeerId>, [closure@tests/fuzz.rs:161:15: 161:18]>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 19  | use rand::seq::IteratorRandom;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `choose` found for struct `std::collections::hash_set::Iter` in the current scope
[INFO] [stdout]    --> tests/fuzz.rs:169:46
[INFO] [stdout]     |
[INFO] [stdout] 169 |                     if let Some(id) = reserved_nodes.iter().choose(&mut rng).cloned() {
[INFO] [stdout]     |                                                             ^^^^^^ method not found in `std::collections::hash_set::Iter<'_, PeerId>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.7.3/src/seq/mod.rs:255:8
[INFO] [stdout]     |
[INFO] [stdout] 255 |     fn choose<R>(mut self, rng: &mut R) -> Option<Self::Item>
[INFO] [stdout]     |        ------ the method is available for `std::collections::hash_set::Iter<'_, PeerId>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]     |
[INFO] [stdout] 19  | use rand::seq::IteratorRandom;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sc-peerset` due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "7ec989ab9127f829c8a3e6fa8ef0f34537d2c08edbc3124e94a3bc1589245e5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ec989ab9127f829c8a3e6fa8ef0f34537d2c08edbc3124e94a3bc1589245e5a", kill_on_drop: false }`
[INFO] [stdout] 7ec989ab9127f829c8a3e6fa8ef0f34537d2c08edbc3124e94a3bc1589245e5a
